package views;

import com.example.android.google.apis.R;

import persistence.DataBaseController;
import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TabHost;

public class DockTab extends TabActivity {

    public void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);

	TabHost host = getTabHost();

	host.addTab(host.newTabSpec("one").setIndicator("STARRED", getResources().getDrawable(R.drawable.starredtab))
		.setContent(new Intent(this, DockStarred.class)));
	
	host.addTab(host.newTabSpec("two").setIndicator("ALL", getResources().getDrawable(R.drawable.alltab))
		.setContent(new Intent(this, DockList.class)));
    }
}
